package com.java.vue.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;

public class User implements Serializable {

  private long id;
  private String name;
  private long age;
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GTM+8")
  private java.sql.Timestamp bir;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public long getAge() {
    return age;
  }

  public void setAge(long age) {
    this.age = age;
  }


  public java.sql.Timestamp getBir() {
    return bir;
  }

  public void setBir(java.sql.Timestamp bir) {
    this.bir = bir;
  }

}
